<template>
    <div class="patient-view">

      <div style="width: 200px">
        <patient-left-sidebar @update-view="updateView" @go-path="goPath"></patient-left-sidebar>
      </div>

      <!--    <center-view></center-view>-->
      <div class="centerView">
        <router-view ref="routerView" />
      </div>
    </div>
</template>

<script>
  import patientLeftSidebar from "./modules/patientLeftSidebar";

    export default {
        name: "index",
        components:{patientLeftSidebar},
        data: function () {
            return {

            };
        },
        methods:{
            updateView: function () {
                if (this.$refs["routerView"].updateApi) {
                    this.$refs["routerView"].updateApi();
                }
            },
            goPath:function (index) {

            }
        }
    }
</script>

<style lang="scss">
  @import "@/assets/scss/patient/patient.scss";
</style>
